-- add_attrib_forever
-- create by wangy
-- 技能: 永久增加自身属性

return {
    apply = function(source, target, skillId, round, para, extra)
        local attrib = para[1];
        local count  = para[2];

        -- 增加相应属性
        source:addAttrib(attrib, count);
        return count;
    end,

    parse = function(desc)
        local arr = string.explode(desc, ",");
        return { arr[1], tonumber(arr[2]), };
    end,

    -- 解析技能描述
    parseDesc = function(source, skillId, desc, para)
        return desc;
    end,
}
